arvid-demon / PornoLab.net | Clean Layout [de-bloated]

// ==UserScript==
// @name              PornoLab.net | Clean Layout [de-bloated]
// @name:sv           PornoLab.net | Ren Layout [avskalad]
// @name:ru           PornoLab.net | чистый макет | [раздетый]
// @namespace         pornolabs-compact
// @version           1.1.3
// @description       Clean, ad-free layout with improved structure for Pornolab
// @description:sv    Ren, reklamfri layout med förbättrad struktur för Pornolab
// @description:ru    чистый макет без рекламы с улучшенной структурой для Pornolab
// @author            7KT-SWE
// @license MIT 
// @icon              https://7kt.se/resources/images/pbicon.png
// @homepageURL       https://7kt.se/
// @contributionURL   https://www.paypal.com/donate/?hosted_button_id=2EJR4DLTR4Y7Q
// @supportURL        https://openuserjs.org/scripts/arvid-demon/PornoLab.net_Clean_Layout_[de-bloated]/issues
// @include           *://pornolab.net/*
// @grant GM_addStyle
// @run-at document-end
// @compatible Chrome >=55 + Tampermonkey + Violentmonkey
// @compatible Firefox >=56 + Tampermonkey + Violentmonkey
// @compatible Opera + Tampermonkey + Violentmonkey
// @compatible Edge + Tampermonkey + Violentmonkey
// ==/UserScript==
(function () {
  let css = "";
  if (location.hostname === "pornolab.net" || location.hostname.endsWith("pornolab.net")) {
    css += `
    .site-logo {
        width: auto;
        height: 92px;
    }
    #main-nav {
        padding: 0px 10px;
    }
    .freeleech-icon {
        bottom: 139px;
        top: 46px;
        left: 233px;
        color: #1c66d7;
        font-size: 22px;
    }
    #pl-speedbar {
        display: none !important;
    }
    .bypass-alert {
        display: none;
    }
    .sb2-block {
        margin: 0px 0px 10px 5px;
        margin-top: 0px;
        padding: 0px 5px 0 0;
    }
    #cookieNotice {
        display: none;
    }
    #vsxshop-2 {
        display: none !important;
    }
    #bn-toy-1 {
        display: none !important;
    }
    .maintitle, .pagetitle {
        width: 80%;
        word-break: break-word;
    }
    .topmenu {
        position: absolute;
        justify-content: right;
        float: right;
        right: 0%;
        top: -4px;
        background: transparent;
        border-color: transparent;
        width: min-content;
    }
    #quick-search {
        position: relative;
        top: 35px;
        right: 0px;
        padding: 4px;
        z-index: 1;
    }
    h3 {
        letter-spacing: 0px;
    }
    .cat_title {
        letter-spacing: 0px;
    }
    #main_content_wrap > table > tbody > tr:nth-of-type(1) > td:nth-of-type(3),
    #latest_news > table > tbody > tr:nth-of-type(1) > td:nth-of-type(3) {
        display: none;
    }
    #adriver-240x120 {
        display: none;
    }
    .topmenu td {
        position: relative;
        top: 0px;
        background: transparent;
    }
    #body_container {
        padding: 0 0 25px;
    }
    #page_footer {
        display: none;
    }
    .bottom_info {
        padding-bottom: 10px;
    }
    iframe {
        display: none !important
    }
    #fs-sel-cat {
        margin-top: -3px;
    }
    textarea:focus, input:focus {
        outline: none;
    }
    .splk {
        display: none;
    }
    #vgfgesfsfsder34 {
        display: none;
    }
    .splk3 {
	      display: none;
    }
  }`;
  }
  if (typeof GM_addStyle !== "undefined") {
    GM_addStyle(css);
  }
  else {
    let styleNode = document.createElement("style");
    styleNode.appendChild(document.createTextNode(css));
    (document.querySelector("head") || document.documentElement).appendChild(styleNode);
  }
})();